set_option genInjectivity false
structure Foo where
  x1  : Nat := 0
  x2  : Nat := 0
  x3  : Nat := 0
  x4  : Nat := 0
  x5  : Nat := 0
  x6  : Nat := 0
  x7  : Nat := 0
  x8  : Nat := 0
  x9  : Nat := 0
  x10 : Nat := 0
  y1  : Nat := 0
  y2  : Nat := 0
  y3  : Nat := 0
  y4  : Nat := 0
  y5  : Nat := 0
  y6  : Nat := 0
  y7  : Nat := 0
  y8  : Nat := 0
  y9  : Nat := 0
  y10 : Nat := 0
  z1  : Nat := 0
  z2  : Nat := 0
  z3  : Nat := 0
  z4  : Nat := 0
  z5  : Nat := 0
  z6  : Nat := 0
  z7  : Nat := 0
  z8  : Nat := 0
  z9  : Nat := 0
  z10 : Nat := 0
  w1  : Nat := 0
  w2  : Nat := 0
  w3  : Nat := 0
  w4  : Nat := 0
  w5  : Nat := 0
  w6  : Nat := 0
  w7  : Nat := 0
  w8  : Nat := 0
  w9  : Nat := 0
  w10 : Nat := 0
  xx1  : Nat := 0
  xx2  : Nat := 0
  xx3  : Nat := 0
  xx4  : Nat := 0
  xx5  : Nat := 0
  xx6  : Nat := 0
  xx7  : Nat := 0
  xx8  : Nat := 0
  xx9  : Nat := 0
  xx10 : Nat := 0
  yy1  : Nat := 0
  yy2  : Nat := 0
  yy3  : Nat := 0
  yy4  : Nat := 0
  yy5  : Nat := 0
  yy6  : Nat := 0
  yy7  : Nat := 0
  yy8  : Nat := 0
  yy9  : Nat := 0
  yy10 : Nat := 0
  ww1  : Nat := 0
  ww2  : Nat := 0
  ww3  : Nat := 0
  ww4  : Nat := 0
  ww5  : Nat := 0
  ww6  : Nat := 0
  ww7  : Nat := 0
  ww8  : Nat := 0
  ww9  : Nat := 0
  ww10 : Nat := 0

@[noinline] def mkFoo (x : Nat) : Foo :=
  { yy10 := x }

def main : IO Unit :=
  IO.println (mkFoo 10).yy10
